<td>
  <ul class="sf_admin_td_actions">
    <?php echo $helper->linkToEdit($ads, array(  'params' =>   array(  ),  'class_suffix' => 'edit',  'label' => 'Edit',)) ?>
    <?php echo $helper->linkToDelete($ads, array(  'params' =>   array(  ),  'confirm' => 'Are you sure?',  'class_suffix' => 'delete',  'label' => 'Delete',)) ?>
    <li class="sf_admin_action_edit">
    <?php
    	if ($ads->status_id == Ads::_ACTIF) {
    	 	echo link_to('Désactiver', '@desactiverAds?id=' . $ads->id);
    	}else{
    		echo link_to('Activer', '@activerAds?id=' . $ads->id);
    	}
    ?>
	</li>
  </ul>
</td>
